/**
 * Copyright (c) 2024-2025 National Fundamental Software of China Co., Ltd.
 *
 * You should have find a copy of NFSChina License. If not, please contact us
 * by email <os_support@nfschina>
 *
**/

//#ifndef NAVBUTTON_H
//#define NAVBUTTON_H
#include <QPushButton>
#include <QColor>
#include <QPaintEvent>

class NaviButton : public QPushButton
{
    Q_OBJECT
public:
    NaviButton();
    NaviButton(QWidget *parent = nullptr);
    ~NaviButton();
    void setIcon(const QIcon &icon1, const QIcon &icon2);
protected:
    void paintEvent(QPaintEvent *event) override;
private:
    QIcon Icon1;
    QIcon Icon2;
};
